using Belmost4PDA.Fasade;

namespace Belmost4PDA.Logic
{
    public class Mapper_IdMapper:AbstractMapper
    {
        private readonly string field = "";
        private readonly string value = "";
        private readonly string table = "";
        public Mapper_IdMapper(string Field, string Value, string Table)
        {
            field = Field;
            value = Value;
            table = Table;
        }
        public override void ToControls(DataRows.DataRows row)
        {
            // do nothing
        }

        public override bool IsKey()
        {
            return true;
        }

        public override string FieldName()
        {
            return field;
        }

        public override string FieldVal()
        {
            return value;
        }

        public override string TableName()
        {
            return table;
        }
    }
}
